import Vue from "vue";
import VueRouter from "vue-router";
import '@/style/main.scss'
import '@/style/index.scss'
Vue.use(VueRouter);
const routes = [
	{
		path: '/',
		component: () => import('@/views/My/My'),
		name: 'My',
		//我的
	},
	{
		path: '/Initiate',
		component: () => import('@/views/Initiate/Initiate'),
		name: 'Initiate',
		//发起筹款
	},
	{
		path: '/Promoter',
		component: () => import('@/views/Info/Promoter'),
		name: 'Promoter',
		//发起人信息
	},
	{
		path: '/BasicInfo',
		component: () => import('@/views/Info/Basic'),
		name: 'BasicInfo',
		//患者信息填写
	},
	{
		path: '/DetailBasic',
		component: () => import('@/views/Info/Basic'),
		name: 'DetailBasic',
		//患者资料资料查看
	},
	{
		path: '/PpayeeInfo',
		component: () => import('@/views/Info/Ppayee'),
		name: 'PpayeeInfo',
		//收款人信息填写
	},
	{
		path: '/DetailPpayee',
		component: () => import('@/views/Info/Ppayee'),
		name: 'DetailPpayee',
		//收款人资料查看
	},
	{
		path: '/ConfirmedInfo',
		component: () => import('@/views/Info/Confirmed'),
		name: 'ConfirmedInfo',
		//患者确诊信息填写
	},
	{
		path: '/DetailConfirmed',
		component: () => import('@/views/Info/Confirmed'),
		name: 'DetailConfirmed',
		//患者确诊资料查看
	},
	{
		path: '/Condition',
		component: () => import('@/views/Info/Condition'),
		name: 'Condition',
		//征信信息填写
	},
	{
		path: '/DetailCondition',
		component: () => import('@/views/Info/Condition'),
		name: 'DetailCondition',
		//征信信息查看
	},
	{
		path: '/Certifier',
		component: () => import('@/views/Info/Certifier'),
		name: 'Certifier',
		//帮他证明
	},
	{
		path: '/CertifierList',
		component: () => import('@/views/Detail/CertifierList'),
		name: 'CertifierList',
		//证明人列表
	},
	// {
	// 	path: '/CarCondition',
	// 	component: () => import('@/views/Info/CarCondition'),
	// 	name: 'CarCondition',
	// 	//车辆信息
	// },
	// {
	// 	path: '/userInfoCondition',
	// 	component: () => import('@/views/Info/userInfoCondition'),
	// 	name: 'userInfoCondition',
	// 	//患者个人保障
	// },
	{
		path: '/RaiseFunds',
		component: () => import('@/views/My/RaiseFunds'),
		name: 'RaiseFunds',
		//我的筹款
	},
	{
		path: '/MyHelp',
		component: () => import('@/views/My/MyHelp'),
		name: 'MyHelp',
		//我捐助的
	},
	{
		path: '/Record',
		component: () => import('@/views/My/Record'),
		name: 'Record',
		//我捐助的
	},
	{
		path: '/issue',
		component: () => import('@/views/My/issue'),
		name: 'issue',
		//我捐助的
	},
	{
		path: '/Home',
		component: () => import('@/views/Home/Home'),
		name: 'Home',
		//主页
	},
	{
		path: '/Detail',
		component: () => import('@/views/Detail/Detail'),
		name: 'Detail',
		//详情
	},
	{
		path: '/Complaint',
		component: () => import('@/views/Detail/Complaint'),
		name: 'Complaint',
		//详情
	},
	{
		path: '/DetailInfo',
		component: () => import('@/views/Detail/DetailInfo'),
		name: 'Detail',
		//详情资料list
	},
	{
		path: '/CashOut',
		component: () => import('@/views/CashOut/CashOut'),
		name: 'CashOut',
		//提现
	},
	{
		path: '/Help',
		component: () => import('@/views/Help/Help'),
		name: 'Help',
		//捐款
	}

];

const router = new VueRouter({
	// base: '/process.env.VUE_APP_DIR_NAME,/',
	// mode:'history',   //去除#号
	routes
});

export default router;
